home *** CD-ROM | disk | FTP | other *** search
/ PCNet 2006 April / PCnet 2006-06.4.iso / shareware / nmsetup.exe / WebServer / web / _config.php next >
Encoding:
PHP Script  |  2006-05-01  |  3.0 KB  |  75 lines

  1. <?php
  2. ////////////////////////////////////////////////////////////////////////////////
  3. // <!--Copyright (c) 2005 Pure Networks Inc.  All rights reserved.-->
  4. ////////////////////////////////////////////////////////////////////////////////
  5. //
  6. // Build: 3.0.6121.0 (Stable)
  7. // $Revision: #3 $
  8. //
  9.  
  10. // Port the site runs on
  11. $iPort                          =   "8008";
  12.  
  13. // home dns subdomain desingator
  14. $sWaHomeSubDomain               =   "home";
  15.  
  16. // link variables for task panel
  17. $sLearnMoreLink                 =   "http://www.networkmagic.com";
  18. $sSupportLink                   =   "http://support.networkmagic.com";
  19.  
  20. $bWebCameraEnabled              =   false;
  21. $sWebCameraLink                 =   "http://images.earthcam.com/spaceneedle/live.php";
  22. $sWebCameraLinkText             =   "Space Needle Web Camera";
  23. $iWebCameraWindowWidth          =   700;
  24. $iWebCameraWindowHeight         =   600;
  25.  
  26. //product name
  27. $sProductNameFormal             =   "Pure Networks Net2Go";
  28. $sProductNameInformal           =   "Net2Go";
  29. $sParentProductNameFormal       =   "Pure Networks Network Magic";
  30. $sParentProductNameInformal     =   "Network Magic";
  31.  
  32. //preferences - booleans
  33. $bNetworkMap                    =   false;
  34. $bForceFileAction               =   true;
  35. $bAutoDetectWebCams             =   true;
  36. $bAutoDetectUSBCams             =   true;
  37. $bWebCameraIsPrivate            =   true;
  38. $bShowWhatsNew                  =   false;
  39. $bShowTinyUrlLink               =   false;
  40. $bRssFeedsEnabled               =   true;
  41.  
  42. //preferences - integers
  43. $iFeedCountLimit                =   25;
  44. $iFeedCountMax                  =   250;
  45.  
  46. // which styles will we use?
  47. $sColorScheme                       = "";
  48.  
  49. $sincDisallowedExtensions           = ".ade;.adp;.bas;.bat;.chm;.cmd;.com;.cpl;crt;.exe;.hlp;.hta;.inf;.ins;.isp;.js;.jse;.lnk;.mdb;.mde;.msc;.msi;.msp;.mst;.pcd;.pif;.reg;.scr;.sct;.shb;.shs;.url;.vb;.vbe;.vbs;.wsc;.wsf;.wsh"; // This has to be here to get included in upload.php when it's needed
  50. $sincPhotoFileExtensions            = ".bmp;.gif;.jfif;.jpe;.jpeg;.jpg;.tiff;.png";
  51. $sDownloadUnsupportedExtensions     = ".lnk;";
  52.  
  53. // Upload Max Filesize
  54. $iMaxFileSize                       = 2147483647;
  55.  
  56. //////////////////////////////////////////////////////////////
  57. // These variables are also controlable via the preferences web
  58. // interface.  If you are using that, the values you set via
  59. // the web interface take precedence over these.
  60. //////////////////////////////////////////////////////////////
  61. // which styles will we use?
  62. $sStyleFamily                       = "default";
  63. $sStyleName                         = "simpleblue";
  64.  
  65. //preferences - booleans
  66. $bReplaceOriginalFileOnUpload   =   false;
  67. $bAllowPreferenceReset          =   true;
  68.  
  69. require "styles/" . $sStyleFamily . "/default.inc"; // config per se, but should be able to be style based, so they are there.
  70. ///////////////////////////////////////////////////
  71. // let's load the over-ride preferences if need be
  72. ///////////////////////////////////////////////////
  73. getSitePreferences();
  74. ?>
  75.